package com.dhsc.controller.ywjk.qywjh.fwjkxx;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.dhsc.domain.jkzx.ywjk.qywjh.jhmxxx.YcjlmxVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.ywjk.qywjh.fwjkxx.IFwjkxxService;

/**
 * @ClassName: FwjkxxController
 * @Description: 服务监控信息
 * @Author: jwj
 * @Date: 2023/11/7 10:52
 */
@Controller
@RequestMapping("/ywjk/qywjh/fwjkxx")
public class FwjkxxController {

    @Autowired
    private IFwjkxxService fwjkxxService;

    /**
     * @Description: 查询服务异常类型
     * @MessageName:queryFwYclx
     * @Param:  ycjlmxVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/7 14:57
     */
    @ResponseBody
    @RequestMapping(value="/queryFwYclx")
    public ResponseObject queryFwYclx(YcjlmxVo ycjlmxVo){
        return fwjkxxService.queryFwYclx(ycjlmxVo);
    }

    /**
     * @Description: 查询服务记录信息
     * @MessageName:queryFwjlInfo
     * @Param:  ycjlmxVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/7 15:39
     */
    @ResponseBody
    @RequestMapping(value="/queryFwjlInfo")
    public LayuiTableVo queryFwjlInfo(YcjlmxVo ycjlmxVo){
        return fwjkxxService.queryFwjlInfo(ycjlmxVo);
    }

    /**
     * @Description: 处理服务记录
     * @MessageName:handleFwjl
     * @Param: ycjlmxVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/9 9:52
     */
    @ResponseBody
    @RequestMapping(value="/handleFwjl")
    public ResponseObject handleFwjl(YcjlmxVo ycjlmxVo){
        return fwjkxxService.handleFwjl(ycjlmxVo);
    }

}
